export default {
  methods: {
    // 检查权限
    checkPerm(checkName) {
      const points = this.$store.state.user.userInfo.roles.points
      return points.includes(checkName)
    }
  }
}
